{% extends "layout/page.html" %} {% block head_title %} {%- trans %}Kanban board{% endtrans -%} {%- if request.dispname %} - {{ request.dispname }}{% endif %} - {{ config.TRACKER_NAME }} {% endblock %} {% block page_header %} {%- trans %}Kanban board{% endtrans -%} {%- if request.dispname %} - {{ request.dispname }}{% endif %} {% endblock %} {% block content %} {% if not (context.is_view_ok() or request.user.hasRole('Anonymous')) %}

{% trans %}You are not allowed to view this page.{% endtrans %}

{% endif %} {% if not context.is_view_ok() and request.user.hasRole('Anonymous') %}

{% trans %}Please login with your username and password.{% endtrans %}

{% endif %} {% if context.is_view_ok() %} {% set batch = request.batch() %} {% set column_prop = request.group[0][1] %}
{% for col_name in utils.column_names(request) %}
{{ col_name if col_name else '(no %s set)' % column_prop }} {% for i in batch %} {# Do not add draggable or set it to "false" to disable the ability to move the card. Maybe user doesn't have permission to move it. Rather than fail/revert drag on drop, prevent dragging entirely. #} {% if i[column_prop].plain() == col_name %}
{{ i.id }} {% for field in request.columns %} {{ field }} {{ i[field] or "not set"}} {% endfor %}
{% endif %} {% endfor %}
{% endfor %}

{% trans start=batch.start, end=batch.start + batch.length - 1, total=batch.sequence_length %} Showing {{ start }}..{{ end }} out of {{ total }} cards.{% endtrans %}

{% endif %} {% endblock %}